const a = async function (
  _0,
  _1,
  _2,
  { dc: { http, reload, message, Confirm } }
) {
  const ret = await new Promise((resolve) => {
    Confirm({
      iconType: "info",
      title: "初始化数据",
      content: "该操作将初始化数据,是否继续?",
      onOk: async () => resolve(true),
      onCancle: async () => resolve(false),
    });
  });
  if (!ret) return;
  await http.post({
    url: "/ypxy/reportImport/init6",
  });
  message.success("初始化成功");
  reload();
};
